home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
TR-IN3.ZIP
/
TRIP!IN.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-12-07
|
8KB
|
362 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 2.OO (plain) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
String STRING001
String STRING002
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
String STRING016
String STRING017
String STRING018
String STRING019
String STRING020
String STRING021
String STRING022
String STRING023
;------------------------------------------------------------------------------
CdChkOn
STRING014 = "0"
If (Exist(PPEPath() + "trip!in.CFG")) Goto LABEL001
FCreate 1, PPEPath() + "trip!in.cfg", 2, 0
FPutLn 1, "NONE"
FPutLn 1, "34"
FPutLn 1, "21"
FPutLn 1, "5"
FPutLn 1, "35"
FPutLn 1, "16"
FPutLn 1, "35"
FPutLn 1, "17"
FPutLn 1, "35"
FPutLn 1, "18"
FPutLn 1, "@X08(@X0FC@X08)@X0Bontinue @X08(@X0FR@X08)@X0Be-Enter Handle @X08(@X0F @X08)"
FPutLn 1, "2"
FPutLn 1, "20"
FPutLn 1, "@X0FEnter the NUP @X08: [ ]"
FPutLn 1, "@X0AYou were not found in the User Base!.... What now?"
FPutLn 1, ""
FPutLn 1, ""
FPutLn 1, " trip^in configuration file!"
FPutLn 1, " .--------------------------------------------------------------------."
FPutLn 1, " | 1st line : If nup is used, enter your nup else enter NONE |"
FPutLn 1, " | 2nd line : X position of status bar |"
FPutLn 1, " | 3rd line : Y position of status bar |"
FPutLn 1, " | 4th line : Number of password tries |"
FPutLn 1, " | 5th line : X position of handle |"
FPutLn 1, " | 6th line : Y position of handle |"
FPutLn 1, " | 7th line : X position of location |"
FPutLn 1, " | 8th line : Y position of location |"
FPutLn 1, " | 9th line : X position of password |"
FPutLn 1, " | 10th line : Y position of password |"
FPutLn 1, " | 11th line : prompt when new user is found |"
FPutLn 1, " | 12th line : X position of the nup prompt |"
FPutLn 1, " | 13th line : Y position of the nup prompt |"
FPutLn 1, " | 14th line : The nup prompt |"
FPutLn 1, " | 15th line : the colour+prompt when user not found in userbase! |"
FPutLn 1, " `--------------------------------------------------------------------'"
FPutLn 1, ""
End
:LABEL001
FOpen 1, PPEPath() + "trip!in.CFG", 2, 0
FGet 1, STRING001
FGet 1, STRING002
FGet 1, STRING003
FGet 1, STRING004
FGet 1, STRING005
FGet 1, STRING006
FGet 1, STRING007
FGet 1, STRING008
FGet 1, STRING015
FGet 1, STRING016
FGet 1, STRING017
FGet 1, STRING018
FGet 1, STRING019
FGet 1, STRING020
FGet 1, STRING023
FClose 1
Print "@CLS@@POFF@"
DispFile PPEPath() + "trip!in.PCB", 1
:LABEL002
STRING009 = ""
STRING010 = ""
AnsiPos STRING002, STRING003
Print "@X08 "
AnsiPos STRING002, STRING003
Print "@X02Enter your handle."
AnsiPos STRING005, STRING006
InputStr "_", STRING009, 0, 25, Mask_Ascii(), 4096
If (STRING009 == "") Goto LABEL002
If (STRING009 == Chr(27)) DtrOff
If (STRING009 == " ") Goto LABEL002
INTEGER001 = U_RecNum(Upper(STRING009))
If (INTEGER001 == "-1") Goto LABEL004
GetAltUser INTEGER001
AnsiPos STRING007, STRING008
Print "@X08" + U_City
Delay 2
AnsiPos STRING007, STRING008
Print "@X07" + U_City
Delay 2
AnsiPos STRING007, STRING008
Print "@X0F" + U_City
Delay 2
STRING011 = "0"
If (STRING022 == "") STRING022 = "no tries yet"
:LABEL003
STRING010 = ""
STRING021 = STRING004 - STRING011
AnsiPos STRING002, STRING003
Print "@X08 "
AnsiPos STRING002, STRING003
Print "@X02Enter Password @X08(" + STRING021 + " trys)"
AnsiPos 1, 1
SPrintLn "
■
-----------------------------------
■
"
SPrintLn "
|
s
ysop
i
nfo!
|
"
SPrintLn "
)-----------------------------------(
"
SPrintLn "
|
u
sers
p
assword
--
[
]
|
"
SPrintLn "
|
u
sers
i
nput
--
[
]
|
"
SPrintLn "
■
-----------------------------------
■
"
SPrintLn ""
AnsiPos 23, 5
SPrint " "
AnsiPos 23, 5
Print STRING022
AnsiPos 23, 4
Color 8
SPrint U_Pwd
AnsiPos STRING015, STRING016
While ((STRING010 == "")) InputStr "_", STRING010, 7, 12, Mask_Pwd(), 1
STRING022 = ""
STRING022 = STRING010
AnsiPos 23, 5
SPrint " "
AnsiPos 23, 5
SPrint STRING022
If (STRING010 == "") Goto LABEL003
If (Upper(STRING010) == U_Pwd) Goto LABEL009
AnsiPos STRING002, STRING003
Print "@X08 "
AnsiPos STRING002, STRING003
Print "@X04Wrong Password Entard!"
STRING011 = STRING011 + 1
Delay 10
If (STRING011 == STRING004) Goto LABEL010
AnsiPos 35, 18
Print Space(12)
Backup 12
Goto LABEL003
:LABEL004
AnsiPos 1, 22
Print Space(80)
Delay 1
AnsiPos 1, 21
Print Space(80)
Delay 1
AnsiPos 1, 20
Print Space(80)
Delay 1
AnsiPos 1, 19
Print Space(80)
Delay 1
AnsiPos 1, 18
Print Space(80)
Delay 1
AnsiPos 1, 17
Print Space(80)
Delay 1
AnsiPos 1, 16
Print Space(80)
Delay 1
AnsiPos 1, 15
Print Space(80)
Delay 1
AnsiPos 1, 14
Print Space(80)
Delay 1
AnsiPos 1, 13
Print Space(80)
Delay 1
AnsiPos 1, 12
Print Space(80)
Delay 1
AnsiPos 10, 14
Print STRING023
AnsiPos 2, 16
Print "@X08▓▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▓▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▓▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▓▀▀"
AnsiPos 2, 18
Print "@X08▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▓▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▓▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▓▄▄▄▄▄▓▄▄"
AnsiPos 21, 17
Print STRING017
:LABEL005
AnsiPos 56, 17
InputStr "_", STRING012, 0, 1, "CcRr", 0
If (STRING012 == "") Goto LABEL005
If (Upper(STRING012) == "C") Goto LABEL006
If (Upper(STRING012) == "R") Goto LABEL008
Goto LABEL005
:LABEL006
If (Upper((STRING001 == "NONE"))) Goto LABEL007
AnsiPos STRING018, STRING019
Print STRING020
AnsiPos GetX() - 11, STRING019
InputStr "_", STRING013, 0, 10, Mask_Ascii(), 0
If (Upper(STRING013) == Upper(STRING001)) Goto LABEL007
:LABEL007
FreshLine
Newlines 3
Color 0
KbdStuff STRING009 + Chr(13) + Chr(13) + "C^M"
Color 7
Goto LABEL011
:LABEL008
AnsiPos 35, 16
Print Space(25)
AnsiPos 35, 16
Goto LABEL001
:LABEL009
AnsiPos 23, 5
SPrint " "
AnsiPos 23, 5
Color 8
Print "correct!!"
AnsiPos 4, 23
FreshLine
ShowOff
Color 0
KbdStuff STRING009 + Chr(13) + Chr(13) + STRING010 + Chr(13)
Color 7
ShowOn
Goto LABEL011
:LABEL010
Newline
PrintLn "@X04Excessive password trys! Call back or Fuck off!"
Delay 5
Hangup
:LABEL011
Cls
End
Newline
Print "@X04WRONG SUCKER!"
Delay 10
Backup 15
Print Space(15)
STRING014 = STRING014 + 1
Delay 10
If (STRING014 == STRING004) Goto LABEL010
Goto LABEL001
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 1 Cls
; 6 Color
; 20 Goto
; 12 Let
; 32 Print
; 1 PrintLn
; 16 If
; 1 DispFile
; 1 FCreate
; 1 FOpen
; 1 FClose
; 15 FGet
; 36 FPutLn
; 1 Hangup
; 4 InputStr
; 1 DtrOff
; 1 CdChkOn
; 18 Delay
; 2 Newline
; 1 Newlines
; 2 KbdStuff
; 41 AnsiPos
; 2 Backup
; 2 FreshLine
; 5 SPrint
; 7 SPrintLn
; 1 ShowOn
; 1 ShowOff
; 1 GetAltUser
;
;
; ■ Functions used :
;
; 18 +
; 2 -
; 15 ==
; 7 Upper()
; 14 Space()
; 6 Chr()
; 1 Mask_Pwd()
; 2 Mask_Ascii()
; 4 PPEPath()
; 1 Exist()
; 1 GetX()
; 1 U_RecNum()
;
;------------------------------------------------------------------------------
;
; Analysis flags : RBH
;
; R - Read user ■ 5
; User records are read, this may signify that someone wants to get
; various informations about a user (for example his password), but
; this may also be normal for a program accessing user records (for
; example a User Editor)
; ■ Search for : GETALTUSER
;
; B - Brute hangup ■ 1
; Program hangup without notification. This may be a good way to
; disconnect a user, but if used randomly, may be very nasty
; ■ Search for : HANGUP, DTROFF
;
; H - Read Password or Password History ■ 5
; Program is reading the user's password or last password history
; This may be ok for a password manager, but it is very suspect. Check!
; ■ Search for : U_PWDHIST, U_PWD
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------